package com.gopay.common.domain.bank.spdb.adpay;

import java.io.Serializable;

import com.gopay.common.domain.bank.ExPayBaseMessage;
import com.thoughtworks.xstream.annotations.XStreamAlias;

@XStreamAlias("STPContext")
public class SpdbAdPayMessage<T> extends ExPayBaseMessage implements Serializable{
	
	private static final long serialVersionUID = -4830484889765562653L;

	@XStreamAlias("Header")
	private SpdbAdPayHeader header;
	
	@XStreamAlias("Body")
	private T body;
	
	public SpdbAdPayHeader getHeader() {
		return header;
	}

	public void setHeader(SpdbAdPayHeader header) {
		this.header = header;
	}

	public T getBody() {
		return body;
	}

	public void setBody(T body) {
		this.body = body;
	}
	
}
